#ifndef CDevice_h__
#define CDevice_h__

#include "Header.h"
namespace GameTutor
{
	class CDevice
	{
	public:
		static CDevice* GetInstance()
		{
			if (!s_pInstance)
			{
				s_pInstance = new CDevice();
			}
			return s_pInstance;
		}
		virtual ~CDevice() {}
		void SleepEx(unsigned long milisec);
		unsigned long GetTimer();
	protected:
		static CDevice* s_pInstance;
	};
}
#endif // CDevice_h__
